package com.stm.bi.dto.vo;

import com.stm.framework.annotation.ResParam;

import java.util.List;
import java.util.Map;

/**
 * @Description:
 * @Author: bo
 * @Date: 2023/06/27 16:07
 */
public class MaterialTableDataVO {

    @ResParam(label = "标题")
    private List<ReportTitleVO> title;

    @ResParam(label = "数据")
    private List<Map<String, String>> datas;

    @ResParam(label = "总记录数")
    private Long total = 0L;

    @ResParam(label = "页面大小")
    private Long size = 20L;

    @ResParam(label = "当前页码")
    private Long current = 1L;

    public List<ReportTitleVO> getTitle() {
        return title;
    }

    public MaterialTableDataVO setTitle(List<ReportTitleVO> title) {
        this.title = title;
        return this;
    }

    public List<Map<String, String>> getDatas() {
        return datas;
    }

    public MaterialTableDataVO setDatas(List<Map<String, String>> datas) {
        this.datas = datas;
        return this;
    }

    public Long getTotal() {
        return total;
    }

    public MaterialTableDataVO setTotal(Long total) {
        this.total = total;
        return this;
    }

    public Long getSize() {
        return size;
    }

    public MaterialTableDataVO setSize(Long size) {
        this.size = size;
        return this;
    }

    public Long getCurrent() {
        return current;
    }

    public MaterialTableDataVO setCurrent(Long current) {
        this.current = current;
        return this;
    }
}
